package com.ww.learn.delegate.version1

interface Worker {
    fun work()
    fun takeVacation()
}

class JavaProgrammer : Worker {
    override fun work() = println("Java Programmer working")
    override fun takeVacation() = println("Java Programmer taking vacation")
}

class CSharpProgrammer : Worker {
    override fun work() = println("CSharp Programmer")
    override fun takeVacation() = println("CSharp Programmer")
}

class Manager